import { HttpException, HttpStatus } from '@nestjs/common';
import { ApiExtraModels } from '@nestjs/swagger';

@ApiExtraModels(ForbiddenException)
export class ForbiddenException extends HttpException {
  constructor() {
    super({
      error: 'hahha ',
      message: 'message',
      status: HttpStatus.FORBIDDEN
    }, HttpStatus.FORBIDDEN);
  }
}
